package com.xiaozhengkeji.blogsuper.base.service;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.xiaozhengkeji.blogsuper.base.mapper.FileCloudEntityMapper;
import com.xiaozhengkeji.blogsuper.base.entitys.FileCloudEntity;
@Service
public class FileCloudEntityService{

    @Resource
    private FileCloudEntityMapper fileCloudEntityMapper;

    
    public int deleteByPrimaryKey(Integer id) {
        return fileCloudEntityMapper.deleteByPrimaryKey(id);
    }

    
    public int insert(FileCloudEntity record) {
        return fileCloudEntityMapper.insert(record);
    }

    
    public int insertSelective(FileCloudEntity record) {
        return fileCloudEntityMapper.insertSelective(record);
    }

    
    public FileCloudEntity selectByPrimaryKey(Integer id) {
        return fileCloudEntityMapper.selectByPrimaryKey(id);
    }

    
    public int updateByPrimaryKeySelective(FileCloudEntity record) {
        return fileCloudEntityMapper.updateByPrimaryKeySelective(record);
    }

    
    public int updateByPrimaryKey(FileCloudEntity record) {
        return fileCloudEntityMapper.updateByPrimaryKey(record);
    }

    
    public List<FileCloudEntity> queryByAll(FileCloudEntity fileCloudEntity) {
        return fileCloudEntityMapper.queryByAll(fileCloudEntity);
    }

    
    public List<FileCloudEntity> queryByFileName(String fileName) {
        return fileCloudEntityMapper.queryByFileName(fileName);
    }

    
    public List<FileCloudEntity> queryByFileUUID(String fileUUID) {
        return fileCloudEntityMapper.queryByFileUUID(fileUUID);
    }

    
    public List<FileCloudEntity> queryByFileUser(String fileUser) {
        return fileCloudEntityMapper.queryByFileUser(fileUser);
    }

}
